package com.heima.mongo.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @BelongsProject: heima-leadnews
 * @BelongsPackage: com.heima.mongo.entity
 * @Author: wangjian
 * @CreateTime: 2022-07-04  11:00
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@Document("ap_comment")
public class ApCommen {
    /**
     * id
     */
    private String id;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 文章id或动态id
     */
    private Long entryId;

    /**
     * 评论内容
     */
    private String content;

}
